#pragma once
#include "Resource.h"

class CProgressDlg : public CDialog
{
	DECLARE_DYNAMIC(CProgressDlg)

public:
	CProgressDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CProgressDlg();

	// Dialog Data
	enum { IDD = IDD_DIALOG_PROGRESS };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnClose();

public:
	BOOL DoCreate(CWnd* pParent);
	void Progress(int nPosLen,int nCurPos);

	void SetStaticText(CString strMsg);
	int m_nCurPos;// = nCurPos;

	int m_nTimer ;	
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedBtnStopLoad();
	//afx_msg void OnBnClickedBtnHideProgress();
};
